package model;

import com.et.ar.ActiveRecordBase;
import com.et.ar.annotations.Column;
import com.et.ar.annotations.Id;
import com.et.ar.annotations.Table;
import com.et.ar.exception.ActiveRecordException;

@Table(name = "unit")
public class Unit extends ActiveRecordBase {
	@Id
	private Integer id; // 序号
	@Column
	private String unit_name;// 单位名称
	@Column
	private String tel_no;// 电话
	@Column
	private String fax_no;// 传真号
	@Column
	private String post_no;// 邮编
	@Column
	private String address;// 地址
	@Column
	private String url;// 网址
	@Column
	private String email;// 邮箱
	@Column
	private String bank_name;// 开户银行
	@Column
	private String bank_no;// 银行账号

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUnit_name() {
		return unit_name;
	}

	public void setUnit_name(String unitName) {
		unit_name = unitName;
	}

	public String getTel_no() {
		return tel_no;
	}

	public void setTel_no(String telNo) {
		tel_no = telNo;
	}

	public String getFax_no() {
		return fax_no;
	}

	public void setFax_no(String faxNo) {
		fax_no = faxNo;
	}

	public String getPost_no() {
		return post_no;
	}

	public void setPost_no(String postNo) {
		post_no = postNo;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getBank_name() {
		return bank_name;
	}

	public void setBank_name(String bankName) {
		bank_name = bankName;
	}

	public String getBank_no() {
		return bank_no;
	}

	public void setBank_no(String bankNo) {
		bank_no = bankNo;
	}

}
